<template>
    <div>
    <swiper>
      <swiper-item v-for="(item,index) in childbanners" :key="index">
        <a :href="item.link">
          <img :src="item.image" alt="">
        </a>
      </swiper-item>
    </swiper>
    </div>
</template>

<script>
import { Swiper,SwiperItem } from '@/components/common/swiper';
export default {
    name:'HomeSwipper',
    components:{
        Swiper,
        SwiperItem
    },
    props:{
        childbanners:{
            // type:Array,
            default(){
                return []
            }
        },
        childrecommends:{
            // type:Array,
            default(){
                return []
            }
        }
    }
}
</script>

<style>

</style>